package com.i2works.smartluolong.web.entity.merchant;

import com.i2works.smartluolong.utils.entity.BaseCommDO;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 商户申请实体类
 *
 * @author Liu Yutao <koal@vip.qq.com>
 * @date 2018/7/23 20:57
 */

public class MerchantApplyDO extends BaseCommDO {

    private Integer id; //
    private String projectId; // 办件编号
    private Integer userId; // 申请人
    private String region; // 区域
    private String industry; // 行业
    private String qrcode; // 营业执照二维码链接
    private String merchantCode; // 统一社会信用代码
    private String merchantType; // 个体商户经营类型(店/厂/超市)
    private String merchantName; // 个体商户名称
    private String merchantBrand; // 个体商户字号
    private String merchantBrandOptional; // 备选字号
    private String merchantAddress; // 个体商户地址
    private String certType; // 个体商户营业执照类型(家庭经营)
    private Integer receiveStatus; // 是否已领取执照（0未领取，1已领取）；默认值：0
    private Integer issueStatus; // 是否可打印签发（0未签发，1已签发）；默认值：0
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date foundingTime; // 成立时间（到工商局签字确认的时间）
    private String businessScope; // 经营范围
    private String businessForm; // 个体商户经营形式（个人经营）
    private Integer employees; //从业人数
    private String registeredCapital; // 注册资本（万元）
    private Integer applyStatus; // 申请状态（0未提交/暂存；1审核；2审核中；3审核拒绝；4审核通过；5作废）；默认值：0
    private Integer status; // 状态(1启用，0禁用）；默认值：1

    /**
     * 自定义字段
     */
    //备选字号数组
    private List<String> merchantBrandOptionalList;
    //执照图片数组
    private List<String> merchantImagesList;
    //审核消息
    private String auditMessage;
    //事项类型
    private String itemType;
    //发送短信
    private Boolean sendSms;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEmployees() {
        return employees;
    }

    public void setEmployees(Integer employees) {
        this.employees = employees;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public String getQrcode() {
        return qrcode;
    }

    public void setQrcode(String qrcode) {
        this.qrcode = qrcode;
    }

    public String getMerchantCode() {
        return merchantCode;
    }

    public void setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
    }

    public String getMerchantType() {
        return merchantType;
    }

    public void setMerchantType(String merchantType) {
        this.merchantType = merchantType;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getMerchantBrand() {
        return merchantBrand;
    }


    public String getBusinessForm() {
        return businessForm;
    }

    public void setBusinessForm(String businessForm) {
        this.businessForm = businessForm;
    }

    public void setMerchantBrand(String merchantBrand) {
        this.merchantBrand = merchantBrand;
    }

    public String getMerchantBrandOptional() {
        return merchantBrandOptional;
    }

    public void setMerchantBrandOptional(String merchantBrandOptional) {
        this.merchantBrandOptional = merchantBrandOptional;
    }

    public String getMerchantAddress() {
        return merchantAddress;
    }

    public void setMerchantAddress(String merchantAddress) {
        this.merchantAddress = merchantAddress;
    }

    public String getCertType() {
        return certType;
    }

    public void setCertType(String certType) {
        this.certType = certType;
    }

    public Integer getReceiveStatus() {
        return receiveStatus;
    }

    public Integer getIssueStatus() {
        return issueStatus;
    }

    public void setIssueStatus(Integer issueStatus) {
        this.issueStatus = issueStatus;
    }

    public void setReceiveStatus(Integer receiveStatus) {
        this.receiveStatus = receiveStatus;
    }

    public Date getFoundingTime() {
        return foundingTime;
    }

    public void setFoundingTime(Date foundingTime) {
        this.foundingTime = foundingTime;
    }

    public String getBusinessScope() {
        return businessScope;
    }

    public void setBusinessScope(String businessScope) {
        this.businessScope = businessScope;
    }

    public String getRegisteredCapital() {
        return registeredCapital;
    }

    public void setRegisteredCapital(String registeredCapital) {
        this.registeredCapital = registeredCapital;
    }

    public Integer getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(Integer applyStatus) {
        this.applyStatus = applyStatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public List<String> getMerchantBrandOptionalList() {
        return merchantBrandOptionalList;
    }

    public void setMerchantBrandOptionalList(List<String> merchantBrandOptionalList) {
        this.merchantBrandOptionalList = merchantBrandOptionalList;
    }

    public List<String> getMerchantImagesList() {
        return merchantImagesList;
    }

    public void setMerchantImagesList(List<String> merchantImagesList) {
        this.merchantImagesList = merchantImagesList;
    }

    public String getAuditMessage() {
        return auditMessage;
    }

    public void setAuditMessage(String auditMessage) {
        this.auditMessage = auditMessage;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public Boolean getSendSms() {
        return sendSms;
    }

    public void setSendSms(Boolean sendSms) {
        this.sendSms = sendSms;
    }
}
